C (96/301)

From:Darryl Hartwig
Date:30 Aug 99 at 12:21:52
Subject:Re: Creating catalogs for NewMenus

From: Darryl Hartwig <darrylh@powerup.com.au>

Hello Rod

On 30-Aug-99, you wrote:

> From: Rod Schnell <rodsch@telusplanet.net>
>
> Hello Darryl
>
> On 29-Aug-99, Darryl Hartwig wrote:
>> From: Darryl Hartwig <darrylh@powerup.com.au>
>>
>> Hello peoples,
>>
>> I'm creating a catalog description for my program. I've set up my menus
>> using NewMenu structure in a .h file. How do I go about setting up the
>> catalog description (.cd) file for this?
>>
>
> Declare your struct NewMenu array with default strings, then loop through
> it's members assigning locale strings to menu[i].nm_Label as appropriate.
> You may also need to set nm_CommKey. Then call CreateMenus, LayoutMenus
> and attach to window.

So I sort of do a while loop, and then a switch statement inside that, to
determine which strings I'm converting?



Seeya,
Darryl